package com.lagou.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "lagou-service-email")
public interface MailClient {

    @RequestMapping("/email/{email}/{code}")
    public String senMail(@PathVariable("email") String email, @PathVariable("code") String code);

}
